

#CC = gcc

CFLAGS= -Wextra -g 

THIS_DIR := $(dir $(abspath $(firstword $(MAKEFILE_LIST))))

all: test

test: test.o
	$(CC) -o $@ test.o $(CFLAGS)  -L$(THIS_DIR)../  -Wl,-rpath=$(THIS_DIR)../ -lTestabilityProtocol

test.o: test.c
	$(CC) -c  $< -o $@ $(CFLAGS)  -I../inc 

clean:
	rm -rf test.o test

